package AsLayers.Geometry
{
	public class Rectangle implements IGeometry
	{
		private var parent:IGeometry
		public var x:Number
		public var y:Number
		public var width:Number
		public var height:Number
		public function Rectangle(x:Number,y:Number,width:Number,height:Number)
		{
			this.x=x
			this.y=y
			this.width=width
			this.height=height
		}

		public function getArea():Number
		{
			return 0;
		}
		
		public function getLength():Number
		{
			return 0;
		}
		
		public function toString():String
		{
			return null;
		}
		
		public function getGeometryName():String
		{
			return "Rectangle";
		}
		
		public function setParent(geo:IGeometry):void
		{
			this.parent=geo

		}
		
		public function getParent():IGeometry
		{
			return null;
		}
		
	}
}